import 'package:auto_route/auto_route.dart';
import 'package:base/common/router/app_router.gr.dart';

@AutoRouterConfig()
class AppRouter extends RootStackRouter {
  @override
  List<AutoRoute> get routes => [
        AutoRoute(
          page: DashboardRoute.page,
          path: '/dashboard',
          initial: true,
          children: [
            AutoRoute(page: HomeRoute.page),
            AutoRoute(page: Tab1Route.page),
            AutoRoute(page: Tab2Route.page),
          ]
        ),
      ];
}
